package com.ld.cool_library.http;

import com.ld.cool_library.http.model.DemoModel;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface Api {
//    @POST("/doctor_list")
//    Observable<HttpResModel<SearchListModel>> doctor_list(@Body SearchListHttpModel searchListHttpModel);

//    @POST("/myorder_info")
//    Observable<HttpResModel<OrderDetailModel>> myorder_info(@Query("guid") String guid, @Query("id") String id);

//    @GET("/allCoupon")
//    Observable<HttpResModel<List<YouhuiQuanModel>>> allCoupon(@Query("guid") String guid, @Query("cate_name") String cate_name);

    @GET("/joke/content/list.php")
    Observable<HttpResModel<DemoModel>> list(@Query("page") String page, @Query("time") String time, @Query("key") String key);
}
